package com.macro.mall.mapper;

import com.macro.mall.model.SpsDataDiscuss;
import com.macro.mall.pojo.SpsDataContentVo;
import com.macro.mall.pojo.TopicContentVo;
import com.macro.mall.pojo.DiscussContentVo;
import com.macro.mall.query.PinionQuery;

import java.util.List;

public interface SpsDataDiscussMapper {

    /***
     * 网站平台用户ID 查询
     * @param userId
     * @return
     */
    List<DiscussContentVo> selectByPlatformUserId(Long userId);


    /***
     * 查询获容下的评论
     * @return
     */
    List<SpsDataDiscuss> selectByContentId(Long contentId);


    /***
     * 查询舆情话题
     * @param query
     * @return
     */
    List<TopicContentVo> selectByOpinionTopic(PinionQuery query);


    /***
     * 查询舆情话题详情
     * @param query
     * @return
     */
    List<SpsDataContentVo> selectOpinionItem(PinionQuery query);
}